package com.qdlc.p2p.biz.processor.event;

import java.io.Serializable;

import com.qdlc.p2p.biz.processor.task.QuickPayTaskProcessor;
import com.qdlc.p2p.common.constant.RechargeStatus;
import com.qdlc.p2p.common.core.queue.annotation.Task;
import com.qdlc.p2p.common.core.queue.event.AbstractReplayValueEvent;
import com.qdlc.p2p.dal.dto.AccountRecharge;
import com.qdlc.p2p.dal.dto.User;

@Task(QuickPayTaskProcessor.class)
public class QuickPayValueEvent extends AbstractReplayValueEvent implements Serializable {

	String orderId;		//充值订单号
	
	User user;			//充值用户
	
	double money;		//充值金额
	
	int payType;		//充值类型
	
	RechargeStatus status;	//充值状态
	
	String errorMessage;	//如果错误，显示的错误信息
	
	AccountRecharge accountRecharge;

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public int getPayType() {
		return payType;
	}

	public void setPayType(int payType) {
		this.payType = payType;
	}

	public RechargeStatus getStatus() {
		return status;
	}

	public void setStatus(RechargeStatus status) {
		this.status = status;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	public AccountRecharge getAccountRecharge() {
		return accountRecharge;
	}

	public void setAccountRecharge(AccountRecharge accountRecharge) {
		this.accountRecharge = accountRecharge;
	}
	
}
